<template>
	<view>
		<proListVue :ProList="List"></proListVue>
		
	</view>
</template>

<script setup>
	import proListVue from '../../components/proList.vue';
	import {getProList} from  '../../api/product.js';
	import {
			onLoad
		} from "@dcloudio/uni-app"
import { ref } from 'vue';
		let List=ref([])
	
		onLoad(() => {
			getList()

		})
		async function getList(){
			let r1=await getProList();
			console.log(r1.data.data);
			List.value=r1.data.data
		}
	
</script>

<style>
	       
</style>
